package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hyl
 * @since 2022-08-28
 */
@TableName("role_mid_auth")

public class RoleMidAuth implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "role_id")
    private Integer roleId;
    @TableField(value = "auth_id")
    private Integer authId;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
    public Integer getAuthId() {
        return authId;
    }

    public void setAuthId(Integer authId) {
        this.authId = authId;
    }

    @Override
    public String toString() {
        return "RoleMidAuth{" +
            "roleId=" + roleId +
            ", authId=" + authId +
        "}";
    }
}
